package com.base;

import com.immomo.mcf.util.StringUtils;

import java.util.Arrays;

/**
 * @author: sun.hongliang
 * @create: 2019/06/27 15:52
 */
public class SplitTest {
    public static void main(String[] args) {
        String test = "::a:b:";
        final String[] split = test.split(":");
        final String[] split1 = StringUtils.split(test, ":");
        System.out.println(Arrays.asList(split));
        System.out.println(Arrays.toString(split1));
    }
}
